package mn.idax.exchange.otc.service;

import mn.idax.exchange.otc.domain.EmaiDto.BaseEmaiDTO;

import java.util.List;

/**
 * 功能描述: 亚马逊sqs消息发送
 *
 * @auther: zengli
 * @date: 2018/10/18
 */
public interface SqsService {

    /**
     * 消息发送分两步
     * 1.数据库EmailNotifyMsg插入一条记录
     * 2.sqs推送消息
     * 类型取值参考 CommonConstant
     *
     * @param: [emailType 邮件类型, email 邮箱, lang 语言, relatebusinessid 业务ID, queueName 队列名,params 参数]
     * @auther: zengli
     * @date: 2018/10/18
     */
    void sendEmailMessage(Integer emailType, String email, String lang, Integer relatebusinessid, String queueName,BaseEmaiDTO baseEmaiDTO);
}
